home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 1.iso
/
toolbox
/
src
/
exampleCode
/
opengl
/
colorChooser
/
README
< prev
Wrap
Text File
|
1996-11-11
|
2KB
|
41 lines
Developer Toolbox: src/exampleCode/opengl/colorChooser README
OpenGL Color Chooser Widget - libGLColorChooser.a
The OpenGL version of the color chooser widget, contained in
libGLColorChooser.a, is identical in usage and functionality to the
IRIS GL version of the color chooser widget found in libSgm. (Refer
to the man page on SgColorChooser for a description of the color
chooser widget.) OpenGL applications wanting to use the color
chooser widget, must link with the libGLColorChooser.a instead of
libSgm to pick up the OpenGL version of the widget. Applications
using the OpenGL color chooser must also link with libGL, libGLU,
and libGLw.
The include files found in the "includes" directory, are duplicates
of the SgColorChooser widget include files for libSgm (found in
/usr/include/Sgm), modified for use with OpenGL. Applications
using the OpenGL version of the SgColorChooser widget MUST use the
.h files provided in the includes directory, rather than the files
found in /usr/include/Sgm. For completeness, we have left these
includes/*.h files in place to keep them with the library, so the
OpenGL version of this widget is consistent with the GL version
found in libSgm & /usr/include/Sgm. See the man page on
SgColorChooser for the appropriate usage of the include files.
The IRIX5.3 subdir contains the version of libGLColorChooser.a
compiled on an IRIX 5.3 system while the IRIX5.2 subdir contains
the version of libGLColorChooser.a compiled on an IRIX5.2 system.
For Toolbox version 5.0, there is a symlink in this current
directory pointing to IRIX5.3/libGLColorChooser.a.
The sample program, chooser_sample.c, illustrates the most basic
use of the OpenGL color chooser widget. To invoke the color
chooser widget, select "Actions" from the menu bar, then "Color
Chooser" from the menu.
-- Ann LaGrone, 1994